<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>ffmpeg</Name>
        <Homepage>https://ffmpeg.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPL-2/3</License>
        <License>LGPL-2/3</License>
        <IsA>app:console</IsA>
        <Summary>A command-line tool to record, convert and stream audio and video</Summary>
        <Description>FFmpeg is a complete solution to record, convert and stream audio and video.</Description>
        <Archive sha1sum="e934c379c99fb02c3cb7bb89c041ea2c028fb66b" type="tarxz">https://ffmpeg.org/releases/ffmpeg-6.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>xz-devel</Dependency>
            <Dependency>aom-devel</Dependency>
            <Dependency>srt-devel</Dependency>
            <Dependency>ffnvcodec</Dependency>
            <Dependency>gsm-devel</Dependency>
            <Dependency>celt-devel</Dependency>
            <Dependency>lame-devel</Dependency>
            <Dependency>x264-devel</Dependency>
            <Dependency>x265-devel</Dependency>	
            <Dependency>xavs-devel</Dependency>
            <Dependency>yasm-devel</Dependency>
            <Dependency>webp-devel</Dependency>
            <Dependency>xvid-devel</Dependency>
            <Dependency>xavs2-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>rav1e-devel</Dependency>
            <Dependency>speex-devel</Dependency>
            <Dependency>dav1d-devel</Dependency>
            <Dependency>davs2-devel</Dependency>
            <Dependency>libva-devel</Dependency>
            <Dependency>libXv-devel</Dependency>
            <Dependency>shine-devel</Dependency>
            <Dependency>flite-devel</Dependency>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>libmfx-devel</Dependency>
            <!-- <Dependency>onevpl-devel</Dependency> -->
            <Dependency>codec2-devel</Dependency>
            <Dependency>libvpx-devel</Dependency>
            <Dependency>libass-devel</Dependency>
            <Dependency>libgme-devel</Dependency>
            <Dependency>snappy-devel</Dependency>
            <Dependency>libxcb-devel</Dependency>
            <Dependency>openal-devel</Dependency>
            <Dependency>libv4l-devel</Dependency>
            <Dependency>zeromq-devel</Dependency>
            <Dependency>libjxl-devel</Dependency>
            <Dependency>twolame-devel</Dependency>
            <Dependency>fribidi-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>lensfun-devel</Dependency>
            <Dependency>kvazaar-devel</Dependency>
            <Dependency>librsvg-devel</Dependency>
            <Dependency>libsoxr-devel</Dependency>
            <Dependency>libzimg-devel</Dependency>
            <Dependency>wavpack-devel</Dependency>
            <Dependency>svt-av1-devel</Dependency>
            <Dependency>libbs2b-devel</Dependency>
            <Dependency>libsdl2-devel</Dependency>
            <Dependency>libopus-devel</Dependency>
            <Dependency>libilbc-devel</Dependency>
            <Dependency>vid.stab-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libvdpau-devel</Dependency>
            <Dependency>rtmpdump-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>libtheora-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>libbluray-devel</Dependency>
            <Dependency>openjpeg2-devel</Dependency>
            <Dependency>libdc1394-devel</Dependency>
            <Dependency>libavc1394-devel</Dependency>
            <Dependency>libraw1394-devel</Dependency>
            <Dependency>rubberband-devel</Dependency>
            <Dependency>libopenmpt-devel</Dependency>
            <Dependency>libfdk-aac-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>libmodplug-devel</Dependency>
            <Dependency>ladspa-sdk-devel</Dependency>
            <Dependency>libaribb24-devel</Dependency>
            <Dependency>opencl-icd-devel</Dependency>
            <Dependency>libiec61883-devel</Dependency>
            <Dependency>opencore-amr-devel</Dependency>
            <Dependency>libvo-amrwbenc-devel</Dependency>
            <Dependency>frei0r-plugins-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>libcdio-paranoia-devel</Dependency>
            <Dependency>libomxil-bellagio-devel</Dependency>
            <Dependency>jack-audio-connection-kit-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">add-av_stream_get_first_dts-for-chromium.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>ffmpeg</Name>
        <RuntimeDependencies>
            <Dependency>xz</Dependency>
            <Dependency>srt</Dependency>
            <Dependency>aom</Dependency>
            <Dependency>gsm</Dependency>
            <Dependency>celt</Dependency>
            <Dependency>lame</Dependency>
            <Dependency>x264</Dependency>
            <Dependency>x265</Dependency>
            <Dependency>webp</Dependency>
            <Dependency>xvid</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>xavs</Dependency>
            <Dependency>xavs2</Dependency>
            <Dependency>bzip2</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>speex</Dependency>
            <Dependency>rav1e</Dependency>
            <Dependency>dav1d</Dependency>
            <Dependency>davs2</Dependency>
            <Dependency>libva</Dependency>
            <Dependency>libva</Dependency>
            <Dependency>libXv</Dependency>
            <Dependency>shine</Dependency>
            <Dependency>flite</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libv4l</Dependency>
            <Dependency>openal</Dependency>
            <Dependency>libvpx</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>libjxl</Dependency>
            <Dependency>libdrm</Dependency>
            <Dependency>libmfx</Dependency>
            <Dependency>libvpx</Dependency>
            <Dependency>libass</Dependency>
            <Dependency>codec2</Dependency>
            <Dependency>snappy</Dependency>
            <Dependency>zeromq</Dependency>
            <Dependency>libgme</Dependency>
            <Dependency>libsdl2</Dependency>
            <Dependency>libopus</Dependency>
            <Dependency>libbs2b</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libsdl2</Dependency>
            <Dependency>libopus</Dependency>
            <Dependency>libilbc</Dependency>
            <Dependency>svt-av1</Dependency>
            <Dependency>libzimg</Dependency>
            <Dependency>lensfun</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>kvazaar</Dependency>
            <Dependency>librsvg</Dependency>
            <Dependency>libsoxr</Dependency>
            <Dependency>twolame</Dependency>
            <Dependency>fribidi</Dependency>
            <Dependency>wavpack</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>vid.stab</Dependency>
            <Dependency>rtmpdump</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>libvdpau</Dependency>
            <Dependency>openjpeg2</Dependency>
            <Dependency>libbluray</Dependency>
            <Dependency>libdc1394</Dependency>
            <Dependency>libtheora</Dependency>
            <Dependency>libvorbis</Dependency>
            <Dependency>ladspa-sdk</Dependency>
            <Dependency>libaribb24</Dependency>
            <Dependency>opencl-icd</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libmodplug</Dependency>
            <Dependency>libavc1394</Dependency>
            <Dependency>libraw1394</Dependency>
            <Dependency>libfdk-aac</Dependency>
            <Dependency>libopenmpt</Dependency>
            <Dependency>rubberband</Dependency>
            <Dependency>libiec61883</Dependency>
            <Dependency>libvo-aacenc</Dependency>
            <Dependency>opencore-amr</Dependency>
            <Dependency>libvo-amrwbenc</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>libcdio-paranoia</Dependency>	
            <Dependency>libomxil-bellagio</Dependency>
            <Dependency>jack-audio-connection-kit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/ffmpeg</Path>
        </Files>
    </Package>

    <Package>
        <Name>ffmpeg-devel</Name>
        <Summary>Development files for ffmpeg</Summary>
        <RuntimeDependencies>
            <Dependency release="current">ffmpeg</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="26">
            <Date>2023-03-30</Date>
            <Version>6.0.0</Version>
            <Comment>Version bump.</Comment>
            <Name>fury</Name>
            <Email>uglyside@yandex.ru</Email>
        </Update>
        <Update release="25">
            <Date>2022-10-17</Date>
            <Version>4.4.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="24">
            <Date>2022-06-24</Date>
            <Version>4.4.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="23">
            <Date>2022-04-19</Date>
            <Version>4.4.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="22">
            <Date>2021-10-30</Date>
            <Version>4.4.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="21">
            <Date>2021-05-12</Date>
            <Version>4.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="20">
            <Date>2021-04-04</Date>
            <Version>4.3.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="19">
            <Date>2021-01-28</Date>
            <Version>4.2.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="18">
            <Date>2020-07-08</Date>
            <Version>4.2.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="17">
            <Date>2020-04-16</Date>
            <Version>4.2.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnslp@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2020-01-22</Date>
            <Version>4.2.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2019-10-14</Date>
            <Version>4.2.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2019-10-05</Date>
            <Version>4.1.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2019-03-22</Date>
            <Version>4.1.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2018-12-28</Date>
            <Version>4.0.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2018-08-03</Date>
            <Version>4.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2018-05-19</Date>
            <Version>4.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2018-05-05</Date>
            <Version>4.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
         <Update release="8">
            <Date>2018-02-18</Date>
            <Version>3.4.2</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2018-02-18</Date>
            <Version>3.3.6</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-01-13</Date>
            <Version>3.3.6</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-01-04</Date>
            <Version>3.3.6</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-02-17</Date>
            <Version>3.2.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-13</Date>
            <Version>3.0.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.8.6</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-16</Date>
            <Version>2.8.6</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
